package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电每日增值记录对象 meter_record_add
 * 
 * @author ruoyi
 * @date 2021-11-01
 */
public class MeterRecordAdd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 电表id */
    @Excel(name = "电表id")
    private Long meterId;

    /** 增值电费金额 */
    @Excel(name = "增值电费金额")
    private BigDecimal addValue;

    /** 增值度数 */
    @Excel(name = "增值度数")
    private BigDecimal addEleValue;
    
    @Excel(name = "当天度数")
    private BigDecimal today;

    /** 昨天度数 */
    @Excel(name = "昨天度数")
    private BigDecimal beforeMeterValue;

    /** 添加电表预警配置参数 */
    @Excel(name = "添加电表预警配置参数")
    private BigDecimal meterConfig;
    private BigDecimal shareValue;
    private BigDecimal everyValue;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUser;

    /** 创建部门 */
    @Excel(name = "创建部门")
    private Long createDept;

    /** 修改人 */
    @Excel(name = "修改人")
    private Long updateUser;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 逻辑删除 0-正常 1-已删除 */
    @Excel(name = "逻辑删除 0-正常 1-已删除")
    private Integer isDeleted;

    
    
    public BigDecimal getShareValue() {
		return shareValue;
	}

	public void setShareValue(BigDecimal shareValue) {
		this.shareValue = shareValue;
	}

	public BigDecimal getEveryValue() {
		return everyValue;
	}

	public void setEveryValue(BigDecimal everyValue) {
		this.everyValue = everyValue;
	}

	public BigDecimal getToday() {
		return today;
	}

	public void setToday(BigDecimal today) {
		this.today = today;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMeterId(Long meterId) 
    {
        this.meterId = meterId;
    }

    public Long getMeterId() 
    {
        return meterId;
    }
    public void setAddValue(BigDecimal addValue) 
    {
        this.addValue = addValue;
    }

    public BigDecimal getAddValue() 
    {
        return addValue;
    }
    public void setAddEleValue(BigDecimal addEleValue) 
    {
        this.addEleValue = addEleValue;
    }

    public BigDecimal getAddEleValue() 
    {
        return addEleValue;
    }
    public void setBeforeMeterValue(BigDecimal beforeMeterValue) 
    {
        this.beforeMeterValue = beforeMeterValue;
    }

    public BigDecimal getBeforeMeterValue() 
    {
        return beforeMeterValue;
    }
    public void setMeterConfig(BigDecimal meterConfig) 
    {
        this.meterConfig = meterConfig;
    }

    public BigDecimal getMeterConfig() 
    {
        return meterConfig;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setCreateDept(Long createDept) 
    {
        this.createDept = createDept;
    }

    public Long getCreateDept() 
    {
        return createDept;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("meterId", getMeterId())
            .append("addValue", getAddValue())
            .append("addEleValue", getAddEleValue())
            .append("beforeMeterValue", getBeforeMeterValue())
            .append("meterConfig", getMeterConfig())
            .append("remark", getRemark())
            .append("createUser", getCreateUser())
            .append("createDept", getCreateDept())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
